package kizzo.game 
{	
	import kizzo.geometry.TileCoord3D;
	/**
	 * ...
	 * @author ...
	 */
	public class MirrorModifier extends LinkModifier
	{
		protected var mirror_vector:TileCoord3D;
		
		public function MirrorModifier(mirror_vector:TileCoord3D) 
		{
			this.mirror_vector = mirror_vector;
		}
		
		
		override public function apply(v:TileCoord3D):TileCoord3D
		{			
			return new TileCoord3D(v.x * mirror_vector.x, v.y * mirror_vector.y, v.z * mirror_vector.z);
		}		
	}

}